package com.itheima.reggie.service;

import com.itheima.reggie.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    ShoppingCart addShoppingCard(ShoppingCart shoppingCart);

    List<ShoppingCart> list(Long userId);


    void clean(Long userId);

//    void sub(Long dishId, Long setmealId);


    ShoppingCart sub(ShoppingCart shoppingCart);
}
